package com.qianye.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianye.entity.Customer;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CustomerMapper extends BaseMapper<Customer> {
    List<Customer> findAllCustomer(@Param("cusername") String cusername,@Param("cidcard") String cidcard,@Param("cemail") String cemail,@Param("cphone") String cphone,@Param("caddress") String caddress);
    Customer findAuth(@Param("id") Integer id);
}
